package cn.iocoder.yudao.module.erp.controller.admin.business.produce.produceprocess.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 工序新增/修改 Request VO")
@Data
public class ProduceProcessSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "18414")
    private Long id;

    @Schema(description = "工序编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "工序编号不能为空")
    private String code;

    @Schema(description = "工序名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "工序名称不能为空")
    private String name;

    @Schema(description = "工作中心id", example = "1141")
    private Long workId;

    @Schema(description = "工作中心编号")
    private String workCode;

    @Schema(description = "工作中心名称", example = "赵六")
    private String workName;

    @Schema(description = "单位工时产能")
    private Integer productivity;

    @Schema(description = "自动完工")
    private Boolean completeFlag;

    @Schema(description = "交接确认")
    private Boolean confirmFlag;

    @Schema(description = "设备必选")
    private Boolean equipFlag;

    @Schema(description = "是否免检")
    private Boolean exemptionFlag;

    @Schema(description = "报工限制")
    private Integer countLimit;


}